package com.chat.vo.back;

import java.util.HashMap;
import java.util.Map;

/**
 * websocket返回信息基本格式
 * 
 * @author lwh
 *
 */
public class BaseMessageVo<T> {
	//返回状态
	protected String status;
	//错误返回信息
	protected String msg;
	//返回信息类型
	protected Integer type;
	//返回的信息体
	protected T body;
	
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public T getBody() {
		return body;
	}
	public void setBody(T body) {
		this.body = body;
	}
	
}
